<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<META name="keywords" content="$!config.keywords" />
<META name="description" content="$!config.description" />
<title>$!config.name-论坛设置</title>
<link href="skin/default/css/css.css" rel="stylesheet" type="text/css">
<script>
function doSave()
{
	if(doCheck())
	{
		if(EditForm.id.value!="")EditForm.parameter.value="update";
		EditForm.submit();
	}
}

function doCheck()
{
	if(EditForm.name.value=="")
	{
		alert("论坛名称不能为空！");
		EditForm.name.focus();
		return false;
	}
	return true;
}
</script>
</head>

<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
#parse("/inc/top.htm")
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="8" class="cn_12px">
  <tr>
    <td><strong><a href="./" target="_top">BBS配置管理</a></strong><br>
    </td>
    <td><div align="right"></div></td>
  </tr>
</table>
<form name="EditForm" method="post" action="config.do">
	<input type="hidden" name="parameter" value="edit" />
	<input type="hidden" name="id" value="$!id" />
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#E8E8E8">
  <tr bgcolor="#FFFFFF"> 
    <td width="80" height="29" align="center">论坛名称：</td>
    <td colspan="2"> <input name="name" type="text" class="input3" id="ti" value="$!name" size="10">
      * 
      <span class="text-red4">不超过16字符</span></td>
  </tr>
  <tr bgcolor="#FFFFFF">
    <td width="80" height="29" align="center">关 键 字：</td>
    <td colspan="2"> <input name="keywords" type="text" class="input3" id="ti" value="$!keywords" size="40"> 
      <span class="text-red4">*(多个用“,”隔开)不超过20字</span></td>
  </tr>
  <tr bgcolor="#FFFFFF"> 
    <td align="center" valign="top"><br>
      论坛简介：</td>
    <td colspan="2"> <textarea name="description" cols="3" id="intro" style="width:80%">$!description</textarea>      </td>
  </tr>
   <tr bgcolor="#FFFFFF"> 
      <td height="29" align="center">论坛状态：</td>
    <td colspan="2"><select name="status" onChange="showScore(this.value);">
	  <option value="1">开放</option>
       <option value="2">只读</option>
       <option value="3">不允许注册</option>
       <option value="0">关闭</option>
       </select>
	</select><span id="scoreSpan"></span></td>
  </tr>
  <tr bgcolor="#FFFFFF"> 
      <td height="29" align="center">版权信息：</td>
    <td colspan="2"><input name="copy" type="text" class="input3" id="Title" value="$!copy" size="10"> </td>
  </tr>
  <tr bgcolor="#FFFFFF"> 
    <td height="30">&nbsp;</td>
    <td width="448">
    	<input type="button" name="Submit" value="保存" onClick="doSave()">　
      <input type="reset" name="Submit23" value="重置">　      
      <input type="reset" name="Submit22" value="返回" onClick="history.go(-1);">
      </td>
    <td width="237"></td>
    </tr>
</table>
</form>

<hr align="center" width="98%">
#parse("/inc/foot.htm")
    </td>
  </tr>
</table>
</body>
</html>
#if($msg)
<script>
alert('$!msg');
</script>
#end
